//
//  NRWMineInfoCell.m
//  NRWMall
//
//  Created by 张记 on 2018/6/4.
//  Copyright © 2018年 com.anpxd. All rights reserved.
//

#import "NRWMineInfoCell.h"

@interface NRWMineInfoCell ()
@property (weak, nonatomic) IBOutlet UIImageView *headerImage;
@property (weak, nonatomic) IBOutlet UILabel *phoneNo;

@end

@implementation NRWMineInfoCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}
-(void)setPhoneNoStr:(NSString *)phoneNoStr{
    _phoneNoStr = phoneNoStr;
}
-(void)setIsLogin:(BOOL)isLogin{
    _isLogin = isLogin;
    if (isLogin == YES) {
        self.headerImage.image = [UIImage imageNamed:@"mine_header_normal"];
        self.phoneNo.text = _phoneNoStr;
    }else{
        self.headerImage.image = [UIImage imageNamed:@"mine_header_default"];
        self.phoneNo.text = @"立即登录";
    }
    
}
@end
